
 <div class="recuadro_colder">
          <div class="titcol2">SORTEOS DE QUINIELA</div>
        	<div class="comunidadcont">
            <table width="285" border="0" cellspacing="1" cellpadding="0">
  <tr>
    <td width="120">&nbsp;</td>
    <td width="65" height="25" align="center"><strong class="top_tabla">CHAQUEÑA</strong></td>
    <td width="65" height="25" align="center"><strong class="top_tabla">NACIONAL</strong></td>
    <td width="65" height="25" align="center"><strong class="top_tabla">BONAERENSE</strong></td>
  </tr>
  <?php
       $tablaqui="quiniela";
        $condicionqui=" 1";
        $ordenqui="";
        $resqui=  cons_sql($tablaqui, $condicionqui, $ordenqui);
        while($regqui= mysql_fetch_array($resqui)):
		    if($regqui['Fecha']<>"")$fecha=$regqui['Fecha'];
  ?>

  <tr>
    <td width="100" height="30" align="right" valign="middle"><strong class="tabla2"><?php echo utf8_encode($regqui['Tipo'])?></strong></td>
    <td width="100" height="30" align="right" valign="middle"><strong class="tabla"><?php echo str_pad($regqui['Cha'], 4, '0', STR_PAD_LEFT) ?></strong></td>
    <td width="100" height="30" align="right" valign="middle"><strong class="tabla"><?php echo str_pad($regqui['Nac'], 4, '0', STR_PAD_LEFT)?></strong></td>
    <td width="100" height="30" align="right" valign="middle"><strong class="tabla"><?php echo str_pad($regqui['Bon'], 4, '0', STR_PAD_LEFT)?></strong></td>
    
  
  </tr>
 <?php endwhile ?>

            </table><br />

  Fecha Sorteo: <?php echo format_fec($fecha,".")?>

</div>
        </div>